package com.chart.chart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chart.chart.domian.ChartConfigs;
import com.chart.chart.domian.ChartFiles;
import com.chart.chart.domian.vo.ChartFileTreeVO;
import com.chart.common.dto.ChartFileTreeDTO;
import com.chart.common.dto.ChartFolderTreeDTO;

import java.util.List;

/**
 * 用户 业务层
 * 
 * @author ruoyi
 */
public interface IChartFilesService extends IService<ChartFiles>
{
    public List<ChartFileTreeDTO> getFolderFileTree(String name);


    boolean moveFileOrFolder(Long folderId, Long targetParentId, Long userId);

    boolean moveFolder(Long folderId, Long targetParentId, Long userId);

    boolean moveFile(Long folderId, Long targetParentId, Long userId);


    List<ChartFolderTreeDTO> getUpdatedFolderFileTree(String name);
}
